@import "base.less";

body,
html {
  height: 100%;
}
header {
  color: #000;
  background-color: #fff;
}

// search
.search {
  padding: 2.6667vw;
  background-color: #fff;
  height: 13.3333vw;
  .searchCont {
    width: 100%;
    background-color: #f1f1f2;
    border-radius: 13vw;
    .flex;
    justify-content: center;
    i {
      font-size: 3.7333vw;
    }
    p {
      font-size: 3.7333vw;
      height: 8vw;
      line-height: 8vw;
      color: #999;
    }
  }
}

// 分类
.category {
  position: fixed;
  top: 25.0667vw;
  left: 0;
  right: 0;
  bottom: 13.3333vw;
  display: flex;
  .menu {
    width: 22.9333vw;
    height: 100%;
    overflow-y: auto;
    a {
      display: block;
      height: 12vw;
      display: block;
      font-size: 3.4667vw;
      text-align: center;
      line-height: 12vw;
      background-color: #f8f8f8;
      &.cur {
        background-color: #fff;
        color: red;
      }
    }
  }
  .goods {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    position: relative;
    .noGood {
      display: none;
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      p {
        font-size: 4.2667vw;
        text-align: center;
        margin-top: 53.3333vw;
      }
    }
    ul {
      padding: 0 2.6667vw;
      .flex;
      justify-content: flex-start;
      flex-wrap: wrap;
      li {
        width: 33.333333%;
        text-align: center;
        white-space: wrap;
        margin: 2.6667vw 0;
        div {
          width: 19.4667vw;
          height: 19.4667vw;
          margin: 0 auto;
        }
      }
    }
  }
}
